#include "TreadPool.hpp"
#include <iostream>
#include <string>
#include <memory>

int main()
{
    // std::unique_ptr<ThreadPool<int>> tp(new ThreadPool<int>());
    std::unique_ptr<ThreadPool<int>> tp = std::make_unique<ThreadPool<int>>(5);
    
    tp->InitThreadPool();
    tp->Start();

    sleep(5);

    tp->Stop();

    // tp->Enqueue();

    tp->Wait();

    return 0;
}
